//
//  PhotoController.m
//  iosapp
//
//  Created by 吴彬 on 15/12/17.
//  Copyright © 2015年 吴彬. All rights reserved.
//

#import "PhotoController.h"
#import "UNPhotosPickerController.h"

@interface PhotoController ()

@end

@implementation PhotoController
- (instancetype)init
{
    self = [super init];
    if (self) {
        self.hidesBottomBarWhenPushed = YES;
    }
    return self;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (IBAction)pushUnphotosPicker:(id)sender {
    
    UNPhotosPickerController *controller = [[UNPhotosPickerController alloc] initWithAlbumType:nil];
    UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:controller];
    [self presentViewController:nav animated:YES completion:nil];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
